import React from 'react';
import { Route, Switch, Redirect } from 'react-router-dom';
import Home from '../views/Home.tsx'
const RouterView = () => {
  return <Switch>
      <Route path="/home" component={Home}></Route>
      <Redirect to="/home" from="/"></Redirect>
  </Switch>
}

export default RouterView